cc.Class({
    extends: cc.Component,

    properties: {
        
        mHook:cc.Node,

    },

    startAnim() {
        let anim = this.node.getComponent(cc.Animation);
        anim.play();
    },

    onAnimEnd() {        
        let hook = this.mHook.getComponent("hook");
        hook.startLine()
    }
    
    // update (dt) {},
});
